{% extends 'social_base.html' %}
{% load static %}
{% block title %}
{{ username }}的留言板
{% endblock %}
{% block head %}

<style>
    body {
        font-family: 'Arial', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
        background-image: url("{{ MEDIA_URL }}{{ user_profile.background_image }}");
        background-size: cover;
    }
</style>
{% endblock %}
{% block body %}

<div class="profile-container">
    <h1>{{ username }}的留言板</h1>
    <form method="post"
        action="{% url 'leave_message' sender_username=sender_username receiver_username=receiver_username %}">
        {% csrf_token %}
        <textarea name="message_content" required></textarea>
        <button type="submit">留言</button>
    </form>
</div>
{% endblock %}